package com.hxzy.dto;

import com.hxzy.common.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Administrator
 */
@ApiModel(value = "商品分类模型")
@Getter
@Setter
@ToString
public class MerchandiseClassSearchDTO  extends PageDTO {

    @ApiModelProperty(value = "分类名称")
    private String name;

    @ApiModelProperty(value = "开始时间" )
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
